<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title><?php if(defined("title")){echo $title;} ?></title>
<link type="text/css" rel="stylesheet"
	href="/css/common.css" />
<script type="text/javascript" src="/js/jquery.js"></script>
<script type="text/javascript" src="/js/jquery.rater.js"></script>
<script type="text/javascript" src="/js/custom.tools.js"></script>
<script type="text/javascript" src="/js/jquery.tinysort.js"></script>
<script type="text/javascript" src="/js/common.js"></script>
<?php 
if(isset($css)){
	foreach ($css as $_css):
	echo $_css;
	endforeach;
} 
 ?>
 <script type="text/javascript">
$(document).ready(function(){

});

</script>
<meta content="" name="keywords" />
<meta content="" name="description" />
</head>
<body id="normalpage">
	<div id="toolbar">
		<div class="row">
			<div id="top_bar_ct">
				<div id="welcome_info">
				 <?php if (!$this->session->userdata('user_in')){  ?>
					 <span id="login_register"><a href="<?php echo base_url().'login'?>">登录</a> | 
						<a href="<?php echo base_url().'login'?>">免费注册</a>  
				<?php }else{ ?>
						<a href=<?php echo base_url().'myCenter'?>> 您好,
						 <?php echo $this->session->userdata('user_name');?>&nbsp;|&nbsp;个人中心</a>
						 <a href="<?php echo base_url().'login/logout'?>">&nbsp;|&nbsp;退出&nbsp;&nbsp;</a> 
		 		<?php  }?>
				</div>
			</div>
		</div>
	</div>
	
	<div id="main_top_header">
		<a id="main_top_logo" title="SongFanLa" href="<?php echo base_url()?>"> SongFanLa </a>
		<div class="main_top_headerMenu_box">
			<div class="main_top_headerMenu" id="headerMenu_1" name=""> <a  href="<?php echo base_url()?>">送饭啦</a></div>
			<div class="main_top_headerMenu" id="headerMenu_2" name=""> <a  href="<?php echo base_url()?>myCenter">我的订单</a></div>
			<div class="main_top_headerMenu" id="headerMenu_3" name="" style="display:none"> <a  href="<?php echo base_url()?>promotion">优惠信息</a></div>
			<div class="main_top_headerMenu" id="headerMenu_4" name="" style="display:none"> <a  href="<?php echo base_url()?>gift">礼品中心</a></div>
			<div class="main_top_headerMenu" id="headerMenu_5" name="" style="display:none"> <a  href="<?php echo base_url()?>feedback">反馈留言</a></div>	
		</div>
</div>
	<div id="main">


